Make context values editable

trim the key and value for extra spaces