fix(scope): fix $properties not visible using []

 -Fixed broken containsKey.
 -Refactored operator[].