Updated the UrlBuilder to discard keys with NULL values