Moved the JsonMessage classes here (from the M2.CamClient project where they were initially developed).