chore(rest): rename spin serialization type

- spin serialization type is now lower case and with hyphens

related to #CAM-2634