Formatted json response to comply with jsonapi.org specs