changed to_json to inspect for logger on solr save to prevent null response and encoding problems