createEntityFromMetadata uses original, unhydrated, entity to create HalEntity