detect xml and json extensions
change pass to look for page_id instead
removed exportXml() from homepage controller
adjusted Exportxml button
added exportxml method