Generic RESTful Interface for databases