correct file type for json data