Add property userId to AttachmentResponse.