refactor TBGObject getKey() out of my way