nmapxml Golang parser for nmap's XML format with built-in support for translating to JSON. Check the example directory for basic usage.