Convert distance object to string for elasticsearch

After upgrading to ElasticSearch 1.0, `geo_distance` searches broke. Apparently the default unit the geo queries changed to meters:

http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/_parameters.html

To maintain backwards compatibility with 0.90.x we can convert the distance object to a string with an explicit unit.