Make the dumped JSON even more pretty

This matches the options used by Composer when dumping the JSON file