Enable history replay / apply

main edits:
- implement `reconstruct` on `NEROperation` to allow applying `ner` rules;
- fix history replay by solving some issues when reading serialized json;

side-effect:
- fix issue when dealing with UTF8 texts (they were sent with default charset latin-1)