"deepmerge" function generalization for non-.files-format configs