make hal+json work for get, getResource and getUri