JSON through own node.js almost works

problems with dependency injection