https://github.com/GoIntegro/hateoas-bundle/issues/41