Removed sigar dependency from message classes and added json producing toString functions