convert to json and github