Fixes root component.json updating