new_contents: class DictLike(object):
  	""" Base class for a dictionary based object.
  	    Think about wrappers around JSON data. """
  	def __init__(self, data):
  		object.__setattr__(self, '_data', data)
  	def __getattr__(self, name):
  		try:
  			return self._data[name]
  		except KeyError:
  			raise AttributeError
  	def __setattr__(self, name, value):
  		self._data[name] = value
  	def __delattr__(self, name):
  		del self._data[name]
  	def to_dict(self):
  		return self._data
  	def __repr__(self):
  		return "%s(%s)" % (self.__class__.__name__, repr(self._data))
  
  class AliasingDictLike(DictLike):
  	""" A DictLike where keys have aliases provided by __class__.aliases
  	"""
  	aliases = {'a':'aaa'}
  	def __init__(self, data):
  		_data = {}
  		aliases = type(self).aliases
  		for k, v in data.iteritems():
  			if k in aliases:
  				k = aliases[k]
  			_data[k] = v
  		super(AliasingDictLike, self).__init__(_data)
  	def __getattr__(self, name):
  		if name in type(self).aliases:
  			name = type(self).aliases[name]
  		try:
  			return self._data[name]
  		except KeyError:
  			raise AttributeError
  	def __setattr__(self, name, value):
  		if name in type(self).aliases:
  			name = type(self).aliases[name]
  		self._data[name] = value
  	def __delattr__(self, name):
  		if name in type(self).aliases:
  			name = type(self).aliases[name]
  		del self._data[name]
  
subject: Add dictlike: dictionary like object for JSON wrappers