Added instance attribute dont_replace_linebreaks and according setter
method set_dont_replace_linebreaks to avoid the removal of linebreaks in
method set_json
Added instance attribute dont_replace_linebreaks and corresponding
setter method set_dont_replace_linebreaks to controll the removal
of line breaks in method set_json.