Automatic restful service wrapper for PostgreSQL