Adding a small json module to marshal logging messages on ns3