Do you have any way to get namespace during deserialisation ? And to add prefixes (and definition) of them for serialisation ?