Fixed onResourceId changed event to update ListItem's URL.
Better display for JSON in tmeplated resource.

TODO, resource Id changed must checked for branch uniqueness - low bpriority.