CLR function for SQLServer to Serialize Geometries To ESRI's ArcGIS REST API JSON Format.