parse_xsd writes the output using returned values instead of console.log