toJson method needed some rules before attempting JSON generation:  - remove new lines  - remove whitespace   - string starts with {   - string ends with }
toJson method needed some rules before attempting JSON generation:
 - remove new lines
 - remove whitespace
  - string starts with {
  - string ends with }

UKHomeOffice/rtp-io-lib