"Fixed a bug, found by inspecting issue #1" introduces a circular json parser bug
When we have the mydb processing a message that originate from a [http in] module we get a circular json parser error caused by the change made to the MyDb.js file where at line 54, the debug statement has a JSON.stringify(template)
.
In this case the template will have the message populated by the [http in] which is then used by the [http out] to reply. However this has all the socket, request and response methods and variables which refer to itself and the addition of the stringify in the debug breaks it.