fix small rawmessage marshaling issue