handle json files in LCS