adding cjson
json writing can probably be static methods
Merge branch 'json-dev' into pcl-17-dev