def METHOD_NAME(d):
    result = "{"
    first = True
    for key, value in sorted(d.items()):
        if not first:
            result += ","
        result += "%s: %s" % (repr(key), repr(value))
        first = False
    result += "}"
    return result