Write out JSON in pretty format