Resolve a chain of sourcemaps back to the original source, like magic