Added method for converting SimpleGeofence object to Geofence object