Function CreateConnectorWithOptionsToJSON