Feature/result reader

Including Json, CSV, Fred's test changes, and code review changes.