Fix compiler error due to changes in SD Commons.

Fixed a compiler that got introduced by making the geospatial types in SD commons serializable, see DATACMNS-482.