Properly handle single resource object

According to the JSON API specification at
http://jsonapi.org/format/#document-structure-individual-resource-representations
individual resource representations are Objects
not wrapped in an Array.