Converting the view property 'format' to be 'display' and added a 'format' property that controls the return format of the controller data. Migrated the view settings set by the controller to be in the variables scope of the controller object instead of being returned from the controller function. This cleans up the output to support returning the data in a JSON format.