Fixed syntax errors in obtaining json strings of events
Fixed missing null checks
Added health stats publishing username and password to the configuration
Fixed topology events not returning the deserialized objects