Addition of utility method for getting url query params as an object.