json content type to curl