Add params_dict_to_json function

With parameters ```sort_keys=True``` and ```separators=(',', ':')```

Fixes #242