func stringIfExists(fromKey key: String) throws -> String? {
    switch fields[key] {
    case let .string(value):
      return value