Removed duplicated test
Fix json output not handling 'type' attributes, e.g. nested classes, especially with 'json_equivalent' method.