autoFormatter function for label/value data.