renamed "text" property to "name"

!!!!THIS IS A BREAKING CHANGE!!!!

Addresses issue #725