Add support for JSON-API

Add support for jsonapi.org format.

JSON API requires use of the JSON API media type (application/vnd.api+json) for exchanging data.

Simple code update and test added.