Fix getCreateData for creating subjects via the ForeignKeyField of CreateCourse
…because it doesn't properly handle the teacher field returning an object instead of the respective person's ID
…because it doesn't properly handle the teacher field returning an object instead of the respective person's ID