Refactoring Schema object to properly handle property access in object or dict-like fashion