wh_json:objects() for a list of json objects in the spec