Map datetime-like values to unix epoch strings when writing to sqlite