orbital_json_write function

Save orbital object as json file