How to use jsonapi.org format in sails.js?

Tutorial on how to use the jsonapi.org format in Sails.js. This is useful for integrating sails.js with frameworks like ember.js which rely heavily on the jsonapi.org json format,