Changed message format from JSON to binary and added CRC check