Improve nested outputter to check all number types