Made config substitution more powerful to allow for object (and array) value substitution