Fix bug in JSON marshalling for the category context activity.
Add exception for lower TCAPI versions.
Merge pull request #16 from RusticiSoftware/category-json-marshalling

Fix bug in JSON marshalling for the category context activity.