Migrated from Encoding to dart:convert