PT42357515 - mongo replica set config should be captured in snapshot

- use tojson instead printjson