Text this: An optimal transformation method for inferring ocean tracer sources and sinks