Fixes #3770 : Make Json parameters version of API work
Merge pull request #276 from VinceMacBuche/bug_3770/json_api_is_not_working

Fixes #3770 : Make Json parameters version of API work