Added test for Range to json
Support for classes
Associative arrays are also supported