Fixed build of json plugin