Diverse fixes
Repair server - client communication and JsonMessage construction