Change format of json request