Changed asResource to return the substitution along with the value