import json


def json_dumps_formatted(data):
    """Return json string with standard format."""
    dump = json.dumps(data, indent=2, separators=(", ", ": "), ensure_ascii=False)
    return dump.encode("utf-8")