How does ember parse meta-data JSON Response when doing pagination


When doing pagination in Ember and Java Rest api in backend, how am I able to parse response in JSON with meta-data(like totalPageNumber) in ember, tried Serializers but give error: Error: Assertion Failed: Encountered a resource object with an undefined type. The response looks like this:

{ “post”: { “id”: 1, “title”: “Progressive Enhancement is Dead”, “comments”: [“1”, “2”], “links”: { “user”: “/people/tomdale” }, // … },

“meta”: { “total”: 100 } }