Use Config.from_object to handle different newline formats