Fixed conversion of arrays and objects in strtr