convert Work subclasses to workCategory property