updated the way widgets are processed in JSON