Cloud code to "standardize" data a little but before saving