Changed server files to JSON