Added the convertHashMapToEntity method on the EntityAdapter