json parsing with OO
class name modified