more work on json dictionaries