Helper function + Improved readme.

I added a simple helper function to avoid manually calling getText.

And I improved the README by adding how to access custom properties and object layers.