new_contents: import codecs
  import json
  
  
  
  def import_recipes(fname):
      with codecs.open(fname, encoding='utf-8') as fobj:
          raw_data = fobj.read()
  
      recipes = []
  
      for line in raw_data.splitlines():
  
          try:
              parsed = json.loads(line.strip())
          except Exception:
              continue
  
          recipes.append({
              'name': parsed['name'],
              'source': parsed['source'],
              'url': parsed['url'],
              'recipe_yield': parsed.get('recipeYield', None),
              'ingredients': parsed['ingredients'].split('\n'),
              'prep_time': parsed.get('prepTime', None),
              'cook_time': parsed.get('cookTime', None),
              'published': parsed.get('datePublished', None),
              'description': parsed.get('description', None),
              'image': parsed.get('image', None)
          })
  
      return recipes
  
  
  if __name__ == '__main__':
      recipes = import_recipes('recipeitems-latest.json')
      print(len(recipes))
      print(recipes[1])
subject: Add very simple import script