added hook to modify params sent to saxon transformer