object properties fromatted with extra data

In a game of mine, I need to get multiple properties of multiple objects. I can do this easily, but I am getting data that I don’t need.

If I were to print an objects orientation onto the screen, I would get the following:

[[1.000000, 0.000000, 0.000000](vector),
[-0.000000, 1.000000, 0.000000](vector),
[0.000000, -0.000000, 1.000000](vector)]

What I need to know, is how to get rid each occurrence of (vector)

Edit ---------

I found the solution. I just needed to convert the matrices to lists.

The matrices are rotation matrices, if you just take the first list of coords, you’ll get wrong results.
Use the mathutils to_euler() function instead. It will return a retation vector like this Vector(x,y,z)