added attribute catching for FOXML2Solr, MODS flattening