config import / export: refactor + tests - Done