jsonTools.py: small change for expansion of dicts