I honestly don't know. If you read that report about her and the NY Times from Editor & Publisher yesterday, you have to think that there's a lot of things going on that we just don't know about.
I think she put in all that jail time most likely because she feared that if she told the real truth about whatever she's hiding, she'd put in even more jail time, and if she lied she risked getting caught.
Another theory is that everyone at the Times hated her because of her MSM reports and because she had taken the government oath to keep any secrets she learned. Then maybe she thought she'd try to become a super leftist hero by going to jail to protect her sources. Only that hasn't worked. But who knows who she was protecting?
The whole thing is pretty murky at this point.
That rather contradicts the journalist role to take an oath not to divulge what the government doesn't want divulged. She seems to be an opportunist - not to be trusted by any side.