add some methods in json/object