Make slurp-resource 2.0.0-compatible again

closes #1102