deal better with missing jar extensions and include scope in the json