Added the ability to convert an Entity to an HashMap and vice verca, inside the EntityAdapter interface/