(fix) Allow UserState export to exclude fields with null values to prevent overwriting when performing update to metrics data - #841