Bugfix: don't duplicate printing of object types fields