Added utility function to convert a set of coordinates to a GeoJSON
object.