We would like to remind everyone that manually editing project files such as project.json or the .xaml files is NOT an officially supported way of solving issues.
It can lead to unexpected behaviours of Studio when interacting with your project. We cannot provide any guarantees that your project will continue to work after ill-advised changes.
It is not exactly ‘illegal’, but rather not advised. We are not responsible for any broken project that would be a result of modifying the source code of the project files.