port mongo driver to event emitter

Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>
port json driver to event emitter

Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>
whitespaces

Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>