fix validity and buoy number JSON stuff