fixing doc generation json