consolidate formatters into xform()