Converts a Set of Polylines into something serializable in JSON.
Object serializePolylineSet(Set<Polyline> polylines) { return serializeMapsObjectSet(polylines); }