convert inspect params to string