Fix component json errors