- correct splitting multiple messages
- correct string escaping (JSON)