Moves selection of patternstyles and colorstyles to JSON