Fix missing debug info for nested dictionaries

fixes #7688
Fix "object list" output for empty fields