XML to dict symetric conversion

One would expect that converting XML to dict and converting this dict back to XML restores the initial XML file. Extra <#value>...</#value> are inserted.

This pull request adds a test case that reproduces the issue.