Tried to allow CORS by adding headers
Format redefining: diory:type & view: []
Added also weak relations to view and optimized diory.to_json a bit