Expose DB PostgreSQL functions through REST