methods and classes are not included in json output