make data bindings work in resource scope

This is pretty terrible, but it seems like the least brittle way to copy
the binding contexts from recipes over to resources at the moment.
Hopefully resource creation will be broken down into
less-horrible-to-override steps at some point.