Fixing json request