generalized the mssql extraction of key value pairs to catch as many as are provided.