Strip space from ends of []byte before trying to unquote.

This is related to go-jsonpointer bug 3.