Added the convertEntityToHashMapRepresentation method inside the EntityAdapter interface