Generic dom representation for NSObject