added functions cleaning recipes and converting to json