URI: Implement key-value pair parsing for query