adds timezone and encoding to config