Changed default format to JSON