Reference object marshal, unmarshal problem fixed by using Adapter class. TeacherAdapter example through Lesson class.