Test for json ls

Plus a fix so that .json.ls has to match at the end of the file name