Vishal #0 minor refactor - moved filterOutEmptyParams method to contrib