added support for empty query parameters
reduced value-less query param support to null value only