API client refactored
rest client fixes
exam serialization fixes