Query as string working, sending in response