added json for class Scope