Document editor needs to clear model before setting the values to remove any prev attributes.
Fixed an issue with the view editor encoding values when it shouldn't
Fix for setting Ddoc values on view save
remove reduce when setting view on ddoc