Fixed botched GLOB. Also be sure to compress json.