Implemented json parsing code for register/unregister and subscribe/unsubscribe.
Added some benchmarks to compare against basic json parsing.
Implemented json parsing code and tests for abort and errors.