Some cleanups small cleanups.
Also, implement 'isConnected' method for
RabbitMQ connectors
Add JSON.parse utility method to avoid copying it everywhere.