Fix issue with Json object as param