Make JSON representation more HAL compliant

Before:

{
  "_links": [
    {
      "href": "http://example.com/things/1",
      "rel": "self"
    }
  ]
}

After:

{
  "_links": {
    "self": {
      "href": "http://example.com/things/1"
    }
  }
}