def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()
def serialize(self, value, display=False):
        if value is None:
            return ""
        return encode(value)