it processes opts through the json request filter if opts.json was passed to post