Decodes a JSON string to a map.
static Map<String, dynamic> decode(String json) { return jsonDecode(json) as Map<String, dynamic>; }