When adding a JSON "Custom file" double quotes are added before the first and last squiggly brackets and syntax breaks.
For example, when adding the following composer.json to install mockery in a project,
first and last quotes are added like,
and when running "php composer.phar install" it fails with,
"composer.json" does not contain valid JSON