Json File Write FINAL

Resolved ;
-additional fields
-generation of JSON

Notes;
-text is preprocessed -may need to remove processing in jSon
-repetition of characters is not removed.