Updates course enrolment API to only return required values.