Use absolute urls in resources' JSON

Fixes #460