JSON API

Serializer that converts the data to a JSON-API response. This is as far as I can see compatible with the documentation, but bugs might be expected since I am not 100% familiar with the spec in general.