Json Stringify Javascript Class Inheritance Python Definition