Made it possible to convert en Entity to an HashMap object.  Also made it possible to convert an Entity to an HashMapMetaData object.