Use json field instead of data for both input and output