wip
[json serializable]prevent segmentation fault when testing centos box
[json serializable] throws an exception when not inherited JsonSerializable
[json serializable]improve implementations
improve refcounting