As reply_json/1 and reply_json/2, but assumes the new dict based
data representation. Note that this is the default if the outer
object is a dict. This predicate is needed to serialize a list
of objects correctly and provides consistency with
http_read_json_dict/2 and friends.