replace format param with codec param in redis/file inputs, as well as redis output