Implement JSON writers for replies