working out the deserialization issue
more work on getting a spatial type out
more work on getting a spatial type out