Fixed DicttoJS and DataDict so that things aren't so bad.