Refactored code to use "sub" syntax, which is cleaner.

Code review @mhogenso. Note that in constructors, you're still supposed to use `_var` syntax, which is why I didn't change it to be `self.projectJSON`.