Tidied up the Subtransaction database format