Added refcount to jsonitem.h
Merge branch 'json' of https://github.com/korvatap/stateplex into json