code: private Map<String, Link> mapLinks(JsonNode linksObject) {
  		Map<String, Link> result = new HashMap<>();
  
  		Iterator<Map.Entry<String, JsonNode>> linkItr = linksObject.fields();
  
  		while (linkItr.hasNext()) {
  			Map.Entry<String, JsonNode> linkNode = linkItr.next();
  			Link linkObj = new Link();
  
  			linkObj.setHref(
  					getLink(
  							linkNode.getValue()));
  
  			if (linkNode.getValue().has(META)) {
  				linkObj.setMeta(
  						mapMeta(
  								linkNode.getValue().get(META)));
  			}
  
  			result.put(linkNode.getKey(), linkObj);
  		}
  
  		return result;
  	}
docs: Deserializes a <a href="http://jsonapi.org/format/#document-links">JSON-API links object</a> to a {@code Map}
  keyed by the link name.
  <p>
  The {@code linksObject} may represent links in string form or object form; both are supported by this method.
  </p>
  <p>
  E.g.
  <pre>
  "links": {
  "self": "http://example.com/posts"
  }
  </pre>
  </p>
  <p>
  or
  <pre>
  "links": {
  "related": {
  "href": "http://example.com/articles/1/comments",
  "meta": {
  "count": 10
  }
  }
  }
  </pre>
  </p>
  
  @param linksObject a {@code JsonNode} representing a links object
  @return a {@code Map} keyed by link name