fix #toObject documentation spelling error