Use associate array to manage some property in json.js