Fix writing of environment.config.xml files: make them properly receive maps and lists.
Fix writing of environment.config.xml files: make them properly receive maps and lists.

fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui