checking for null when converting geometry and properties for a Feature object.