change data before save for more consistent backend data. [MJ-392]