app: fixed app marshal json.