Better integration into base/json.cpp Signed-off-by: Alexander A. Klimov <alexander.klimov@icinga.com>