For #41 - added custom serializer for device icon type with test