Fixed printing of sub objects