import json


def json_to_string(js_dic, **kwargs):
    """Converts a dictionary to a string."""
    indent = kwargs.pop("indent", 2)
    ensure_ascii = kwargs.pop("ensure_ascii", False)
    return json.dumps(js_dic,
                      indent=indent,
                      ensure_ascii=ensure_ascii,
                      **kwargs)