convert nested classes in Twitter::Base#attrs