fix: Use printf to output/pass correctly escaped and formatted data