This looks good, and supports [JSON-API](http://jsonapi.org/format/) or any other system that likes their meta data put inside a key, but [HAL](http://stateless.co/hal_specification.html) likes its meta data to live in the root. Can you rejig things to allow for that?