set default format as json