migrations: support serializing datetime.time