Ember Mirage and Component Integration Testing



So I’m trying to test our components using ember-cli-mirage by doing something like the following:

const person = server.create('person', { 
  'first-name': 'Something,
  'last-name': 'Else',

This is to mock our API response. Now, our jsonapi-resource should change the properties to camel case.

Now, my question is how do I make the mirage objects have been converted to JSON API resource objects?