def METHOD_NAME(complex_type, capitalize_first=False):
    if complex_type is None:
        return
    new_type = type(complex_type)()
    if isinstance(complex_type, dict):
        for key in complex_type:
            new_type[_snake_to_camel(key, capitalize_first)] = METHOD_NAME(complex_type[key], capitalize_first)
    elif isinstance(complex_type, list):
        for i in range(len(complex_type)):
            new_type.append(METHOD_NAME(complex_type[i], capitalize_first))
    else:
        return complex_type
    return new_type