Add option for trimming whitespace in getValue

https://next.getflow.com/workspaces/1/tasks/5602993

Will have to update the editor as well to send `{parse: true, trim: true}` instead of just `true`