build computers json and writing to file