modify sample

- change key of MyData6Device from enum to string.