Fix bug in JSON marshalling for the category context activity.
Correct 'statement' type in Context

* Switch from 'SubStatement' to 'StatementRef'
Add exception for lower TCAPI versions.
Update doc comment only