added support for generic XML and JSON data to AssetManager (closes #241)