Add metadata fields to datastream and sensor