dict now works with yaml but not yet with xml