adds timestamp to data serializer