DPAC-37 temporary fix for malformed JSON
Add missing API methods
Allow retrieval of representation file content through the API
Fix CORS for /uploads
Fix bug with circular references in representations#toJSON