Made it possible to have an HashMap into an Entity object.