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