Phew, managed to get a simple JSON API server running with node.js and express + express-routes.