change javaToJson param to object