Add functionality to serialize and save TimeObjects to a SQLite database