Support urlencoded params for batch

nmaps sends post requests with urlencoded params
I see a potentially unhandled error here if it fails to parse json. But I'm not sure, is it okay to leave it like that?