Fixed error on 'key'

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Revert "Fixed error on 'key'"

This reverts commit 4741e1dfa27db72679f44cbe19c317e8ca401af5.
New method to get a dump of set vars.

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>