Add serialized object output to stdout in router.