wanted a destructuring assignment, but not compatible yet
script to reformat mongo docs for solr