write output to json, get rid of fusion tables: