mostly cleanup; also added CompareToTests and added feature to ParseJSONString