Fix for GRAILS-10830: HalJsonRenderer links don't resolve properly for proxied entities