'Converts the value to a signed string with timestamp.
:param value:
Object to be serialized.
:returns:
Serialized value.'

def _serialize(self, value):

    data = value
    serialized = pickle.dumps(data).decode('latin-1')
    encoded = parse.quote(serialized, '')
    timestamp = str(int(time.time()))
    signature = self._signature(self.name, encoded, timestamp)
    concatenated = '|'.join([encoded, timestamp, signature])
    return concatenated
