Adds the json for the generate part.