function getParserOptions(options = {}) {
    return Object.assign(Object.assign({}, getCommonOptions(options)), { parseAttributeValue: false, parseTagValue: false, attributeNamePrefix: "", stopNodes: options.stopNodes, processEntities: true, trimValues: false });
}
Converts given XML string into JSON
@param str - String containing the XML content to be parsed into JSON
@param opts - Options that govern the parsing of given xml string
`includeRoot` indicates whether the root element is to be included or not in the output