Merge branch 'cs/#6629-remove-unused-code'

Close #6629
Fixes Zend\Json\Json's composer.json containing single backslash
Merge branch 'hotfix/#6891-#6778-composer-json-string-escaping' into develop

Close #6891
Forward port #6891