added a file to serialize the star data to and from json