Fix bug in xmlToJson, real dict now