We would like to add a new helper function addEmbeddedResource taking a HalResource object as parameter and including it under the _embedded section of another HalResource. This new helper would be exposed as part of the HalResource api.
Reference: The HAL hypermedia cache pattern