Use accessors instead of directly get("property_name")

This is in preparation for using the minified js for the topic tree

Test Plan:
- None