edited mongoNode to change signal into a python dictionary