It is indeed swallowing quotes - either encase the "search" term in
single quotes, or escape each double quote character with a backslash.
i.e. use ' " search " ' or \" search \" on the curl command line
Took me a frustrated google search and this post to figure it out!