def METHOD_NAME(c):
    result = "{"
    keys = list(c.keys())
    keys.sort()
    remaining = len(keys)
    for k in keys:
        v = c[k]
        valueString = v['default']
        if v['type'] == 'bool':
            if valueString:
                valueString = 'true'
            else:
                valueString = 'false'
        if v['type'] == 'list':
            valueString = ';'.join(valueString)
        cc = toCamelCase(k)
        result += """ "%s":{"key":"%s","type":"%s","default":"%s" """ % (cc,k,v['type'],escapeString(valueString))
        # If there's are both max/min values for this value, expose those
        if ( ('minimum' in v) and ('maximum') in v ):
            result += ""","min":"%s","max":"%s" """ % (str(v['minimum']),str(v['maximum']))
        result += ""","description":"%s" }""" % (escapeString(toComment(v['description'])))
        remaining -= 1
        if remaining:
            result += ","
        result += "\n"
    result += "}"
    return result