Partial implemenation of writing out ods file from megatest.db