support for serializing scientific categories as per #129