Add json plugin and fix install target