Updated code to support optional Open Search parameters like polygon