Switching to json definition of dashboards

Can start to remove the giant block of javascript objcet