call #to_s on images URIs when storing in resource to let JSON serialization properly work
Merge branch 'master' of github.com:glyph-fr/url-preview