Added support for formatting to json list of objects