Fixed color wrapping by converting flat messages to json.