Update toJSON error for feeds