Format collected data.