corrected data types for incoming diet post requests