Fixes on editorconfig

Hi guys

I saw that we have a code pattern inconsistency here, some .json files are indented with 2 spaces and others are using 4 spaces. And when I open these files my editor is configured to indent using 4 spaces in everyfiles (as well is defined in editorconfig). Seeing that, I defined in the .editorconfig that [*.json] files are indented with 2 spaces, and normalized the JSON indented with 4 spaces to 2

In the way I also removed two trailing spaces in the generated package.json

I think these things are applicable for everyone and not only for my workflow (as is described in the guidelines)