'This override allows one to take the dict(<block>) of a block.
:return: generator to iterate over all properties of this block'

def __iter__(self):

    for (key, value) in self.__dict__.iteritems():
        if (key == 'key'):
            continue
        if (isinstance(value, basestring) and (key != 'insert_time')):
            (yield (key, value.encode('hex')))
        else:
            (yield (key, value))
    (yield ('hash', self.hash.encode('hex')))
