Added json dependency to pubspec.yaml.