Return a json object enclosed by an array