new_contents: #!/usr/bin/python
  # -*- coding: utf-8 -*-
  
  class Model(object):
  
      def __init__(self):
          pass
  
      @classmethod
      def parse(kls, json):
          """Parse a JSON object into a model instance"""
          raise NotImplementedError
  
  
  class ApiRead(Model):
  
      @classmethod
      def parse(kls, json):
          apiread = kls()
          for key, value in json.iteritems():
              if key == 'tumblelog':
                  setattr(apiread, key, Tumblelog.parse(value))
              elif key == 'posts':
                  setattr(apiread, key, [Post.parse(p) for p in value])
              else:
                  setattr(apiread, key, value)
          return apiread
  
  
  class Tumblelog(Model):
  
      @classmethod
      def parse(kls, json):
          tumblelog = kls()
          for key, value in json.iteritems():
              setattr(tumblelog, key, value)
          return tumblelog
  
  
  class Post(Model):
  
      @classmethod
      def parse(kls, json):
          post = kls()
          for key, value in json.iteritems():
              if key == 'tumblelog':
                  setattr(post, key, Tumblelog.parse(value))
              else:
                  setattr(post, key, value)
          return post
  
subject: add models