Map JSON payload for messages