Allow to pass parameters to post_json method