disable warnings as errors for now
move gradient type into color gradient class and use string for type serialization