Retrieve set parameters and values of grasshopper components

How can I get parameters/variables/nicknames and their set values that I have set in grasshopper?

I would like to have a simple text report that shows what I have set in grasshopper. So for example I have 20 sliders, 10 panels, and 10 ghpython components and I need to get the name of sliders of their corresponding value. The same for panel and ghpython components.
I can do this within a ghpython for sliders using
for obj in ghenv.Component.OnPingDocument():
‘{} = {}’.format(obj.NickName, obj.Slider.Value)

But I would like to know how to get values/text written in panels and the outputs of ghpython components.