Creating the ingredient model and exporting it in JSON format