fix nested transaction_type_details definition