Get rid of new lines in shark query