Not sure if it's a good idea to give an empty string in here. Better to:

1. get the query
2. if empty string, then return empty array right away
3. if not empty string, then return result of parsing