replace `{JSON}` which is not a Javascript type by `{Object}`