Renamed SerializationFormats enum to SerializationFormat, Updated format checking logic to first check for configuration setting, and if missing to determine from content