changing xml tags for language in xml api and fixing caching of multiple objects