better resources support
v 0.3.2: resource/url in json