Saving in java serilaised format, not nml1