Added to CareerService class: method serializeStudentToJson (convert foundation object to json format)