Map<String, String> toJson() => {'username': username, 'password': password, 'registry': registry, 'email': email};