Fixed bug where rgb values were serialized as strings