JSON-REST API for Database and File access