#33 createEntityFromMetadata - injects same entity object into HalEntity

Hal helper - Injects same entity object into HalEntity instead of converting it into array.