Post tranformations

Transformation from xml to json for normal tests, ranges, and specific ids in the last week. What should we do about specific ids that are older than the last week: error or empty results?

Also added the actual fetchRes which gets live results.

I tried to match the error handling you used for the keys as much as possible. Most everything is an internal error, which most of them actually would be.