Getting the menu items from json file, but for click event we need command property with function, so how can I add that event dynamically