A simple data formatter