Rendering links as object instead of collection in JSON. Using 'rel' as the key in the object. If more than one link has the same key the value for that key will be a collection containing all links on the key.
Test to verify xml representation for multiple links with same 'rel'