Adds support and tests for parsing json variants

From the discussion in pull request #122, this will allow the following json variants to use the default json parser:

* `application/json+hal`
* `vnd.collection+json`