def config_split(config):
    """
    Splits a config dict into smaller chunks.
    This helps to avoid sending big config files.
    """
    split = []
    if "actuator" in config:
        for name in config["actuator"]:
            split.append({"actuator": {name: config["actuator"][name]}})
        del(config["actuator"])

    split.append(config)
    return split