add ability to write environment properties

This is bad as this implies order of dict's element, which is not guaranteed.