ensure the properties in the resulting object are consistently typed