Python script for generating a Solr add document from MarcXML