Make the message format extensible to handle data and api_key cleanly.