Json appears to work, xml not yet