provide matching id in message/json response

this provides an id for each message in the response if there was an id provided in the request.  this is important for clients which batch messages together in a single request.