Return empty hash when the value passed to solr_names_and_values is nil