Sensor metadata adding function to load metadata values as json.