Automagic wrapper for Postgres stored procedures to Node functions