Now queries a different JSON string and added -i -l functionality