I see it's done here: https://github.com/Elgg/Elgg/blob/1.9/.scripts/release.php#L18
 We could just use:
```php
json_encode($composerJson, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);
```