fixing json requirment