[CB-4916]: change examples to not use deprecated property

Change the use of device.name to device.model. Also get device.model
to appear in the main device doc page.