It was getting double-JSONed when writing.