Fix issue with empty params. When a param value was empty, it was returning the name of the param as the value.