fix token escape and dictionary output format in devpanel