Added support for listing merged configurations. Also fixed config printing