cleanup stray spaces
Search works more regularly and can now respond with json