normalize data formats throughout the app