convert map to javaBean