Added functions to get manifest as string or XML