BVH Export Limit Channels

Hey I fairly new at blender and I have been having trouble to export a .BVH file where I need to limit the amount of channels.
Constantly when I export, every joint is exported with 6 Channels where I only want 3. Is there a way to limit it to 3 instead? Or do I have to hand edit my .BVH post export through a text editor?

I want this result:

HIERARCHY
ROOT __0
{
	OFFSET 0.0 0.0 0.0
	CHANNELS 0
	JOINT Torso
	{
		OFFSET 0.000000 0.000000 0.000000
		CHANNELS 6 Xposition Yposition Zposition Xrotation Yrotation Zrotation
		JOINT Neck
		{
			OFFSET 0.000000 0.000000 1.000000
			CHANNELS 3 Xrotation Yrotation Zrotation
			JOINT Head
			{
				OFFSET -0.000000 0.280612 0.015589
				CHANNELS 3 Xrotation Yrotation Zrotation
				End Site
				{
					OFFSET -0.000000 0.319585 0.023384
				}
			}
		}
		JOINT UpperRightWing
		{
			OFFSET 0.000000 0.000000 1.000000
			CHANNELS 3 Xrotation Yrotation Zrotation
			JOINT RightWing
			{
				OFFSET -0.363854 -0.000001 -0.080857
				CHANNELS 3 Xrotation Yrotation Zrotation
				End Site
				{
					OFFSET -0.011550 -0.000000 -0.404282
				}
			}
		}
		JOINT UpperLeftWing
		{
			OFFSET 0.000000 0.000000 1.000000
			CHANNELS 3 Xrotation Yrotation Zrotation
			JOINT LeftWing
			{
				OFFSET 0.363854 -0.000001 -0.080857
				CHANNELS 3 Xrotation Yrotation Zrotation
				End Site
				{
					OFFSET 0.011550 -0.000000 -0.404282
				}
			}
		}
	}
	JOINT UpperRightLeg
	{
		OFFSET 0.000000 0.000000 0.000000
		CHANNELS 6 Xposition Yposition Zposition Xrotation Yrotation Zrotation
		JOINT RightLeg
		{
			OFFSET -0.213693 -0.000000 0.485138
			CHANNELS 3 Xrotation Yrotation Zrotation
			End Site
			{
				OFFSET 0.000000 -0.646966 -0.038974
			}
		}
	}
	JOINT UpperLeftLeg
	{
		OFFSET 0.000000 0.000000 0.000000
		CHANNELS 6 Xposition Yposition Zposition Xrotation Yrotation Zrotation
		JOINT LeftLeg
		{
			OFFSET 0.213693 -0.000000 0.485138
			CHANNELS 3 Xrotation Yrotation Zrotation
			End Site
			{
				OFFSET -0.000000 -0.646966 -0.038974
			}
		}
	}
	JOINT Tail
	{
		OFFSET 0.000000 0.000000 0.000000
		CHANNELS 6 Xposition Yposition Zposition Xrotation Yrotation Zrotation
		End Site
		{
			OFFSET -0.000000 0.498865 -0.015590
		}
	}
}
MOTION
Frames: 700
Frame Time: 0.041667

But I am getting this:

HIERARCHY
ROOT __0
{
	OFFSET 0.000000 0.000000 0.000000
	CHANNELS 6 Xposition Yposition Zposition Zrotation Xrotation Yrotation
	JOINT Torso
	{
		OFFSET 0.000000 0.000000 -0.001879
		CHANNELS 6 Xposition Yposition Zposition Zrotation Xrotation Yrotation
		JOINT Neck
		{
			OFFSET 0.000000 -1.000000 -0.000000
			CHANNELS 6 Xposition Yposition Zposition Zrotation Xrotation Yrotation
			JOINT Head
			{
				OFFSET 0.000000 -0.015589 0.280612
				CHANNELS 6 Xposition Yposition Zposition Zrotation Xrotation Yrotation
				End Site
				{
					OFFSET 0.000000 -0.023384 0.319585
				}
			}
		}
		JOINT UpperRightWing
		{
			OFFSET 0.000000 -1.000000 -0.000000
			CHANNELS 6 Xposition Yposition Zposition Zrotation Xrotation Yrotation
			JOINT RightWing
			{
				OFFSET -0.363854 0.080857 -0.000001
				CHANNELS 6 Xposition Yposition Zposition Zrotation Xrotation Yrotation
				End Site
				{
					OFFSET -0.011550 0.404282 0.000000
				}
			}
		}
		JOINT UpperLeftWing
		{
			OFFSET 0.000000 -1.000000 -0.000000
			CHANNELS 6 Xposition Yposition Zposition Zrotation Xrotation Yrotation
			JOINT LeftWing
			{
				OFFSET 0.363854 0.080857 -0.000001
				CHANNELS 6 Xposition Yposition Zposition Zrotation Xrotation Yrotation
				End Site
				{
					OFFSET 0.011550 0.404282 0.000000
				}
			}
		}
	}
	JOINT UpperRightLeg
	{
		OFFSET 0.000000 0.000000 -0.001879
		CHANNELS 6 Xposition Yposition Zposition Zrotation Xrotation Yrotation
		JOINT RightLeg
		{
			OFFSET -0.213693 -0.485138 -0.000000
			CHANNELS 6 Xposition Yposition Zposition Zrotation Xrotation Yrotation
			End Site
			{
				OFFSET 0.000000 0.038974 -0.646966
			}
		}
	}
	JOINT UpperLeftLeg
	{
		OFFSET 0.000000 0.000000 -0.001879
		CHANNELS 6 Xposition Yposition Zposition Zrotation Xrotation Yrotation
		JOINT LeftLeg
		{
			OFFSET 0.213693 -0.485138 -0.000000
			CHANNELS 6 Xposition Yposition Zposition Zrotation Xrotation Yrotation
			End Site
			{
				OFFSET 0.000000 0.038974 -0.646966
			}
		}
	}
	JOINT Tail
	{
		OFFSET 0.000000 0.000000 -0.005655
		CHANNELS 6 Xposition Yposition Zposition Zrotation Xrotation Yrotation
		End Site
		{
			OFFSET 0.000000 0.015590 0.498865
		}
	}
}
MOTION
Frames: 700
Frame Time: 0.041667

Hi,

i have no idea about bvh files but i saw some librarys in python and i guess you can change it by script.
If you want i can look at it if you upload a bvh file.
Also i guess its a good idea to post your question in the coding python suppport.