'Serialize the values (as JSON string). Called from inputfield().
@param values: the values (as dict)
@return: the serialized values'

def serialize(self, values):

    return json.dumps(values, separators=SEPARATORS)
