better __tostring() methods for dictionary/list