simplify reading listeners from configuration