use bijection/injection library for transaction serde