KAZOO-213: encode the first json object to csv