added formatting to json export