[webapi][DeviceCapabilities] Use correct name of Event attribute.

Spec bugs: StorageUnit and DisplayUnit are type name.
The attribute name should be `storage` and `display`.