def METHOD_NAME(custom_params):
    """
    Parse custom parameters list into dict
    Validation should be done on engine side
    """
    retval = {}
    params = [param.strip() for param in custom_params.split(',')]
    for param in params:
        if not param:
            # Empty string if custom parameter was not specified
            continue
        name, value = param.split('=', 1)
        retval[name.strip()] = value.strip()
    return retval