fixed toJSON error in comments partial