Rewrite _id to id when record is outgoing from adapter