a nodejs controller libraray to create a JSON REST service