bug fixes and improvements
   Apps and Dashboard have the same return JSON format
   Error checking when portal def item does not exist