Move JsonSerializer class to GitCommands project