Remove unneeded stuff.
Ensure that all problems object in AngularJS have default fields set.