Json Stringify Javascript Class Constructor Function In Python