(de)serializing label names and colors works correctly for pixel serializer