improve javaMapper, correct data saving in object