make comparators Serializable

Lingual must serialize out Comparator instances to the cluster