Changed the code to reflect the mongodb changes; TODO: add tests for the grants field which has HashMap structure now; get a transformer for grants to index - or perhaps test if solr will index the values as they are?