make mock heartbeat into JSON string