Added task category support in REST (docs are still TODO)