json: implement the state api
json: adding comment about the special function
Merge remote branch 'ssc/json' into devel

Conflicts:
	contrib/munin-json